package com.qdaily.ui.wxapi;import android.content.BroadcastReceiver;import android.content.Context;import android.content.Intent;import com.tencent.mm.sdk.openapi.IWXAPI;import com.tencent.mm.sdk.openapi.WXAPIFactory;/** * Created with IntelliJ IDEA. * User: Felix * Date: 4/15/15 * Time: 17:09 * QQ:74104 * Email:lovejiuwei@gmail.com */public class AppRegister extends BroadcastReceiver {    private final String APP_ID = "wx1fe0075bb56bc196";    @Override    public void onReceive(Context context, Intent intent) {        final IWXAPI api = WXAPIFactory.createWXAPI(context, null);        api.registerApp(APP_ID);    }}